
<meta charset="utf-8">
<script>
    var season = prompt("请输入月份：");
    if(season==1||season==2||season==3){
        alert("春季");
    }else if(season==4||season==5||season==6){
        alert("夏季");
    }else if(season==7||season==8||season==9){
        alert("秋季");
    }else if(season==10||season==11||season==12){
        alert("冬季");
    }
</script>